#include "baseTimer.h"
#include "timerManager.h"

int
baseTimer::setTimer(HWND hwnd, unsigned int id, unsigned int uElapse)
{
	m_id = id;
	m_hwnd = hwnd;
	m_uElapse = uElapse;
	m_uidevnt = SetTimer(hwnd, id, uElapse, NULL);
	return 0;
}

int
baseTimer::killTimer()
{
	KillTimer(m_hwnd, m_uidevnt);
	return 0;
}

HWND
baseTimer::getHwnd()
{
	return m_hwnd;
}

unsigned int
baseTimer::getID()
{
	return m_id;
}